<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="css/navbar.css"/>
<link rel="stylesheet" type="text/css" href="css/sticky-footer.css"/>
<link rel="stylesheet" type="text/css" href="css/product.css"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<title>bootstrap test</title>
<script type="text/javascript">
	$(document).ready(function(){
		$('.img-thumbnail a').hover(function(e){
			var big_src = $(this).attr('big');
			$('#big_img').attr('src', big_src);
		});
	});
</script>
</head>
<body>
<div id="wrap">
	<nav class="navbar navbar-default" role="navigation">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">Home</a>
			</div>
			<div class="collapse navbar-collapse">
				<ul class="nav navbar-nav">
					<li class="active"><a href="#">Diamonds</a></li>
					<li><a href="#">Engagement Rings</a></li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">Wedding<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="#">Action</a></li>
							<li><a href="#">Another action</a></li>
							<li><a href="#">Something else here</a></li>
							<li class="divider"></li>
							<li><a href="#">Separated link</a></li>
							<li class="divider"></li>
							<li><a href="#">One more separated link</a></li>
						</ul>
					</li>
				</ul>
				<form class="navbar-form navbar-left" role="search">
					<div class="form-group">
						<input type="text" class="form-control" placeholder="Search">
					</div>
					<button type="submit" class="btn btn-default">Submit</button>
				</form>
				<ul class="nav navbar-nav navbar-right">
					<li><a data-toggle="modal" href="#login" data-target="#login">Login</a></li>
					<li><a data-toggle="modal" href="#register" data-target="#register">Register</a></li>
				</ul>
			</div>
		</div>
	</nav>
	<div class="container">
		<div class="row">
			<div class="col-xs-12">
				<ul class="nav nav-tabs">
					<li class="active"><a href="#step1" data-toggle="tab"><b>step 1:</b> overview</a></li>
					<li><a href="#"><b>step 2:</b> personal info</a></li>
					<li><a href="#"><b>step 3:</b> confirmation</a></li>
					<li><a href="#"><b>step 4:</b> payment</a></li>
				</ul>
			</div>
			<div class="container">
				<form class="form-inline" role="form">
					<div class="tab-content">
						<div class="tab-pane active" id="step1">
							<div class="row">
								<div class="col-xs-12">
									<table class="table">
										<thead>
											<tr>
												<th></th>
												<th></th>
												<th>Count</th>
												<th>Each(incl. tax)</th>
												<th>total</th>
											</tr>
										</thead>
										<tbody>
											<tr>
												<td>
													<img src="https://apps.bigbase.nl/templates/data/web/5001/img/product_01.jpg" width="75">
												</td>
												<td>
													<a href="detail.html">Product A - Possibly with a short description, or some detail info</a>
													<p>More info or a more complex description.</p>
												</td>
												<td>
													<div class="row">
														<div class="col-xs-12">
															<div class="form-group">
																<button class="btn btn-default">-</button>
															</div>
															<div class="form-group">
																<input type="text" value="1" class="form-control"/>
															</div>
															<div class="form-group">
																<button class="btn btn-default">+</button>
															</div>
															<div class="form-group">
																<button class="btn" title="delete"><i class="glyphicon glyphicon-trash"></i></button>
															<div>
														</div>
														
													</div>
												</td>
												<td align="center">€ 123,-</td>
												<td align="center">€ 123,-</td>
											</tr>
											<tr>
												<td>
													<img src="https://apps.bigbase.nl/templates/data/web/5001/img/product_01.jpg" width="75">
												</td>
												<td>
													<a href="detail.html">Product A - Possibly with a short description, or some detail info</a>
													<p>More info or a more complex description.</p>
												</td>
												<td>
													<div class="row">
														<div class="col-xs-12">
															<div class="form-group">
																<button class="btn btn-default">-</button>
															</div>
															<div class="form-group">
																<input type="text" value="1" class="form-control"/>
															</div>
															<div class="form-group">
																<button class="btn btn-default">+</button>
															</div>
															<div class="form-group">
																<button class="btn" title="delete"><i class="glyphicon glyphicon-trash"></i></button>
															<div>
														</div>
														
													</div>
												</td>
												<td align="center">€ 123,-</td>
												<td align="center">€ 123,-</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
						</div>
					</div>
				</form>
				<div class="row">
					<div class="col-xs-4">
						<a href="products.html" class="btn btn-default"><i class="glyphicon glyphicon-chevron-left"></i> Continue shopping</a>
					</div>
					<div class="col-xs-4">
						<button class="btn"><i class="glyphicon glyphicon-trash"></i> Empty cart</button>
					</div>
					<div class="col-xs-4">
						<button class="btn btn-primary pull-right" data-target="#step2" data-toggle="tab">Next <i class="glyphicon glyphicon-chevron-right"></i></button>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div id="footer">
	<div class="container">
		<p class="text-muted credit" align="center">©Copyright 2013 Bootply | All rights reserved. </p>
	</div>
</div>

<div class="modal" id="login">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4>Sign in</h4>
			</div>
			<div class="modal-body">
				<form class="form-horizontal" role="form" action='/user/login' method="post" name="loginForm">
					<div class="form-group">
					<label for="email" class="col-xs-4 control-label">Email</label>
					<div class="col-xs-6">
						<input type="text" class="form-control" name="email" id="email" placeholder="Email" value="">
					</div>
					</div>
					<div class="form-group">
					<label for="password" class="col-xs-4 control-label">Password</label>
					<div class="col-xs-6">
						<input type="password" class="form-control" name="password" id="password" placeholder="Password" value="">
					</div>
					</div>
					<div class="form-group">
					<div class="col-xs-offset-4 col-xs-10">
					<button type="submit" class="btn btn-primary">Login</button>
					</div>
					</div>
				</form>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->	

<div class="modal" id="register">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4>Create Account</h4>
			</div>
			<div class="modal-body">
				<form class="form-horizontal" role="form" action='/user/register' method="post" name="registerForm">
					<div class="form-group">
						<label for="userName" class="col-xs-4 control-label">Username</label>
						<div class="col-xs-6">
							<input type="text" class="form-control" name="userName" id="userName" placeholder="Username" value="">
						</div>
					</div>
					<div class="form-group">
						<label for="password" class="col-xs-4 control-label">Password</label>
						<div class="col-xs-6">
							<input type="password" class="form-control" name="password" id="password" placeholder="Password" value="">
						</div>
					</div>
					<div class="form-group">
						<label for="password2" class="col-xs-4 control-label">Confirm Password</label>
						<div class="col-xs-6">
							<input type="password" class="form-control" name="password2" id="password2" placeholder="Confirm Password" value="">
						</div>
					</div>
					
					<div class="form-group">
						<div class="col-xs-offset-4 col-xs-10">
							<button type="submit" class="btn btn-primary">Create Account</button>
						</div>
					</div>
				</form>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->	

</body>
</html>
